package com.sc.nft.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.sc.nft.enums.DaoEcologyPointsWalletLogTypeEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * Dao生态积分钱包明细
 * </p>
 *
 * @author liGen
 * @since 2024-11-26
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_dao_ecology_points_wallet_log")
@ApiModel(value="ScDaoEcologyPointsWalletLog对象", description="Dao生态积分钱包明细")
public class DaoEcologyPointsWalletLog extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "DaoId")
    private Long daoId;

    @ApiModelProperty(value = "Dao积分钱包ID")
    private Long userEcologyPointsWalletId;

    @ApiModelProperty(value = "类型")
    private DaoEcologyPointsWalletLogTypeEnum type;

    @ApiModelProperty(value = "奖励名称")
    private String typeName;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "交易前余额")
    private BigDecimal beforeBalance;

    @ApiModelProperty(value = "交易后余额")
    private BigDecimal afterBalance;

    @ApiModelProperty(value = "是否是加 0:否 1:是")
    private Boolean isAdd;

    @ApiModelProperty(value = "备注")
    private String remark;

}
